package com.kuangqi.paymentdemo.config;

import com.google.gson.Gson;
import io.swagger.annotations.ApiOperation;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
@Component
public class GsonConfig {

    @Bean
    Gson gson() {
        return new Gson();
    }
}
